services.hostapd.radios.<name>.networks.<name>.authentication.wpaPassword
Sets the password for WPA-PSK that will be converted to the pre-shared key. The password length must be in the range [8, 63] characters. While some devices may allow arbitrary characters (such as UTF-8) to be used, but the standard specifies that each character in the passphrase must be an ASCII character in the range [0x20, 0x7e] (IEEE Std. 802.11i-2004, Annex H.4.1). Use emojis at your own risk.
Not used when mode is "wpa3-sae".
Warning: This password will get put into a world-readable file in the Nix store!
Using wpaPasswordFile or wpaPskFile instead is recommended.
- Type
null or string- Default
null- Example
"a flakey password"- Declared
- <nixpkgs/nixos/modules/services/networking/hostapd.nix>